Skip to content

Adding send_at for Sendgrid#24

Closed
jwoertink wants to merge 2 commits intomainfrom
features/add_send_at
Closed

Adding send_at for Sendgrid#24
jwoertink wants to merge 2 commits intomainfrom
features/add_send_at

Conversation

@jwoertink
Copy link
Copy Markdown
Member

This PR adds in a new send_at field for the Sendgrid API.

image

This value can be set at either the top-level (as I did here), or later in personalizations.

To use it, you would just define a send_at method that returns a unix timestamp.

def send_at
  1.hour.from_now.to_utc.to_unix
end

Then you send your email like normal and Sendgrid will handle delivering this email in an hour.

@jwoertink
Copy link
Copy Markdown
Member Author

oops! I forgot I had this open. It's been added in by #26

@jwoertink jwoertink closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant